/*
 * Copyright 2011-2020 www.youjiang114.com
 *
 * All right reserved.
 */
package com.holylin.learning.java.language.annotation;

/**
 * @author holylin
 * @since 2012-3-16
 */
@Persistent(table = "persons_table")
public class Person {

	@IdProperty(column = "person_id", type = "integer", generator = "identity")
	private int id;

	@Property(column = "person_name", type = "string")
	private String name;

	@Property(column = "person_age", type = "integer")
	private int age;

}
